checkbutton: Don't notify write-only properties
authorMatthias Clasen <mclasen@redhat.com>
Tue, 1 Sep 2020 20:31:07 +0000 (16:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 1 Sep 2020 20:31:07 +0000 (16:31 -0400)
Nobody is listening...

gtk/gtkcheckbutton.c

index ab7a862779517f21f68e10f69dccfe6c1711adde..cd23ab3a05b08f9705c426ad8cbd37ba8cd354c3 100644 (file)
@@ -834,7 +834,6 @@ gtk_check_button_set_group (GtkCheckButton *self,
 
       priv->group_next = NULL;
       priv->group_prev = NULL;
-      g_object_notify_by_pspec (G_OBJECT (self), props[PROP_GROUP]);
 
       if (priv->indicator_widget)
         gtk_css_node_set_name (gtk_widget_get_css_node (priv->indicator_widget),